﻿using System;
namespace Bus.Model
{
	/// <summary>
	/// 公交线路表，存储城市中所有的公交线路
	/// </summary>
	[Serializable]
	public partial class RouteModel
	{
        public RouteModel()
		{}
		#region Model
		private int _id;
		private string _routename;
		private string _start;
		private string _end;
		private DateTime? _starttime;
		private DateTime? _endtime;
		private int? _userid;
		private string _kilometer;
		private DateTime? _regdate;
		private string _m1;
		/// <summary>
		/// 线路id
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 线路名称
		/// </summary>
		public string routename
		{
			set{ _routename=value;}
			get{return _routename;}
		}
		/// <summary>
		/// 起始站
		/// </summary>
		public string start
		{
			set{ _start=value;}
			get{return _start;}
		}
		/// <summary>
		/// 终点站
		/// </summary>
		public string end
		{
			set{ _end=value;}
			get{return _end;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? starttime
		{
			set{ _starttime=value;}
			get{return _starttime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? endtime
		{
			set{ _endtime=value;}
			get{return _endtime;}
		}
		/// <summary>
		/// 用户id，tb_user表中司机用户的id值
		/// </summary>
		public int? userid
		{
			set{ _userid=value;}
			get{return _userid;}
		}
		/// <summary>
		/// 线路的长度，有多少公里
		/// </summary>
		public string kilometer
		{
			set{ _kilometer=value;}
			get{return _kilometer;}
		}
		/// <summary>
		/// 线路添加时间
		/// </summary>
		public DateTime? regdate
		{
			set{ _regdate=value;}
			get{return _regdate;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string m1
		{
			set{ _m1=value;}
			get{return _m1;}
		}
		#endregion Model

	}
}

